﻿@{
    Layout = "~/Views/Shared/_SignLayout.cshtml";
    ViewBag.Title = "账户激活";
}

<header class="reg_header">
    <img src="~/Styles/Themes/Google/Images/logo_2x.png" /><span><a href='@Url.Action("SignIn", "Account", new { returnUrl = ViewBag.ReturnUrl })'>登录</a></span>
</header>
<div class="reg_main w80">
    <h1><em>三宝云</em>账户激活</h1>

    <div class="person_signUp">

        <div class="person_signUp_form positon_person">
            @using (Html.BeginForm("Activate", "MembershipUser", new { returnUrl = ViewBag.ReturnUrl ?? Url.Content("~/"), redirctUrl = ViewBag.RedirctUrl, email = ViewBag.Email }))
            { 
                <div class="wgt-16">
                    <span class="activateBold">@ViewBag.Message</span>
                </div>

                <div class="wgt-16">
                    <span class="activate">请登录您的注册邮箱，我们已给您的登录邮箱发送了一封激活邮件。</span>
                </div>
                
                
                <div class="wgt-16">
                    @Html.ActionLink("登录邮箱", "LoginEmail", "MembershipUser", new { email = ViewBag.Email }, new { target = "_blank", @class = "paddingLeft-w1" })
                </div>
                
                <div class="wgt-16">
                    <span class="activate">请收到后按照提示操作，需要在7天之内完成。</span>
                </div>
                
                <div class="wgt-16">
                    @*  <a class="paddingLeft-w1" id="ReSendEmail" href='@Url.Action("SendEmail", "Email", new { returnUrl = ViewBag.ReturnUrl ?? Url.Content("~/"), email = Model.Email })'></a>*@
                    @Html.ActionLink((string)ViewBag.LinkText, "SendEmail", "MembershipUser", new { email = ViewBag.Email, membershipUser = ViewBag.MembershipUser, message = ViewBag.Message }, new { @class = "paddingLeft-w1" })
                </div>
                
                <div class="wgt-16">
                    <span class="activateBold">还没收到激活邮件？</span>
                </div>
                
                <div class="wgt-16">
                    <span class="activate">确认邮件是否被您提供的邮箱系统自动拦截，或被误认为垃圾邮件放到垃圾箱了。</span>
                </div>
            }
        </div>
    </div>
</div>
